"""
配置文件
"""

class BaseConfig(object):
    """项目配置父类"""

    # 取消中文转换ASCII码
    JSON_AS_ASCII = False

    # 盐值
    SECRET_KEY = 'python41'
    
class DevelopmentConfig(BaseConfig):
    """开发阶段配置类"""
    pass

class ProductionConfig(BaseConfig):
    """上线阶段配置类"""
    pass

class TestingConfig(BaseConfig):
    """测试阶段配置类"""
    pass

config_dict = {
    'dev': DevelopmentConfig,
    'pro': ProductionConfig,
    'test': TestingConfig
}
